#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
	int n;
	cin >> n;
	cout << "2^" << n << " = " << pow(2, n);
	return 0;
}
